
	
/****** Object:  Stored Procedure [sapro].HoTroTrucTuyenUpdate    Script Date: Thursday, March 18, 2010 ******/
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[spHoTroTrucTuyenUpdate]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [sapro].[spHoTroTrucTuyenUpdate]
GO
			
	
	

	
/******************************************************************************
**		File: 
**		Name: [sapro].spHoTroTrucTuyenUpdate
**		Desc: 
**
**		Return values:
** 
**		Called by:   
**              
**		Parameters:
**		Input							Output
**     ----------							-----------
**
**		Auth: CodeSmith
**		Date: 3/18/2010 5:04:19 PM
*******************************************************************************
**		Change History
*******************************************************************************
**		Date:		Author:				Description:
**		--------		--------				-------------------------------------------
**    
*******************************************************************************/
CREATE PROCEDURE [sapro].spHoTroTrucTuyenUpdate
	@MaNguoiHoTro int, 
	@TenNguoiHoTro nvarchar(50), 
	@YahooAccount nvarchar(50), 
	@GmailAccount nvarchar(50), 
	@HotmailAccount nvarchar(50), 
	@SkyAccount nvarchar(50) 
AS

UPDATE [sapro].[HoTroTrucTuyen] SET
	[TenNguoiHoTro] = @TenNguoiHoTro,
	[YahooAccount] = @YahooAccount,
	[GmailAccount] = @GmailAccount,
	[HotmailAccount] = @HotmailAccount,
	[SkyAccount] = @SkyAccount
WHERE
	[MaNguoiHoTro] = @MaNguoiHoTro

GO

